import request from '@/utils/request'

// 查询个人业绩排名列表
export function listPerformanceRankingPC(query) {
  return request({
    url: '/boc/performanceRankingPC/list',
    method: 'get',
    params: query
  })
}

// 查询个人业绩排名详细
export function getPerformanceRankingPC(dateId) {
  return request({
    url: '/boc/performanceRankingPC/' + dateId,
    method: 'get'
  })
}

// 新增个人业绩排名
export function addPerformanceRankingPC(data) {
  return request({
    url: '/boc/performanceRankingPC',
    method: 'post',
    data: data
  })
}

// 修改个人业绩排名
export function updatePerformanceRankingPC(data) {
  return request({
    url: '/boc/performanceRankingPC',
    method: 'put',
    data: data
  })
}

// 删除个人业绩排名
export function delPerformanceRankingPC(dateId) {
  return request({
    url: '/boc/performanceRankingPC/' + dateId,
    method: 'delete'
  })
}
